package com.yunji.aggregate.model.vo.analysis;

import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.cabinet.vo
 * @Title: FillCargoTimeDataVO
 * @Description: TODO:
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-06-19 17:08:49      V1.0        HuaAo       新建类
 */
@Data
public class FillCargoTimeDataVO {

    @ApiModelProperty("时间日期")
    @Excel(name = "时间日期", width = 15)
    private String date;

    @ApiModelProperty("次数")
    @Excel(name = "日数", width = 15)
    private Integer nums;

    public String getDay() {
        if (date != null)
            return date.substring(8, 10);
        return null;
    }
}